<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Document</title>
    </head>
    <body>
        <!-- <form
            action="/users"
            method="post"
            enctype="application/x-www-form-urlencoded"
        >
            <p>用户名：<input type="text" name="username" /></p>
            <p>密码：<input type="password" name="password" /></p>
            <button>提交</button>
        </form> -->

        <form action="/users" method="post" enctype="multipart/form-data">
            <p>用户名：<input type="text" name="username" /></p>
            <p>密码：<input type="password" name="password" /></p>
            <p>头像：<input type="file" name="avatar" /></p>
            <button>提交</button>
        </form>
    </body>
</html>
